require 'ffi'

module Test
	extend FFI::Library
	ffi_lib "/data/chendawei/my_scripts/ruby/ffi/lib/libdwc.so"
	attach_function	:pingpang ,[:int],:int
end


puts Test.pingpang(1111)
